From Jason Turner

[string.op<]

Diff to HTML by rtfpessoa

Files changed (1) hide show
  1. tmp/tmpzqof1gbp/{from.md → to.md} +26 -0
tmp/tmpzqof1gbp/{from.md → to.md} RENAMED
@@ -0,0 +1,26 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ #### `operator<` <a id="string.op<">[[string.op<]]</a>
2
+
3
+ ``` cpp
4
+ template<class charT, class traits, class Allocator>
5
+ bool operator< (const basic_string<charT, traits, Allocator>& lhs,
6
+ const basic_string<charT, traits, Allocator>& rhs) noexcept;
7
+ ```
8
+
9
+ *Returns:* `lhs.compare(rhs) < 0`.
10
+
11
+ ``` cpp
12
+ template<class charT, class traits, class Allocator>
13
+ bool operator< (const charT* lhs,
14
+ const basic_string<charT, traits, Allocator>& rhs);
15
+ ```
16
+
17
+ *Returns:* `rhs.compare(lhs) > 0`.
18
+
19
+ ``` cpp
20
+ template<class charT, class traits, class Allocator>
21
+ bool operator< (const basic_string<charT, traits, Allocator>& lhs,
22
+ const charT* rhs);
23
+ ```
24
+
25
+ *Returns:* `lhs.compare(rhs) < 0`.
26
+